Multiply execution unit for performing integer and XOR multiplication

ABSTRACT

A multiply execution unit that is operable to generate the integer product and the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a summing circuit for summing a plurality of partial products. The partial products may be Booth encoded. The summing circuit can generate an integer sum of the plurality of partial products and can generate an XOR sum of the plurality of partial products. The summing circuit includes a first plurality of full adders. The first plurality of full adders each has three inputs, a carry output, and a sum output. The sum outputs of the first plurality of full adders are independent of the value of any carry output in the summing circuit. The summing circuit also includes a second plurality of full adders. The second plurality of full adders each has three inputs, a carry output, and a sum output. The XOR sum is dependent upon at least one of the sum outputs of the first plurality of full adders but is independent of the sum outputs of the second plurality of full adders. The integer sum is dependent upon the sum outputs of at least one of the first plurality of full adders and is also dependent on at least one of the sum outputs of the second plurality of full adders.

1. FIELD OF THE INVENTION

The present invention relates to multiply execution units. In particular, the invention relates to multiply execution units that can perform integer multiplication and XOR multiplication. Such integer execution units may optionally utilize Booth encoding.

2. BACKGROUND

Many techniques for multiplying operands in computer systems have been utilized. One technique of multiplying two operands (one a multiplicand 105 and the other a multiplier 110) is shown in FIG. 1A. Each bit in the multiplicand 105 and the multiplier 110 is represented by an “X.” As shown in FIG. 1A, the product of two 17-bit binary operands can be obtained by summing all the rows in the partial products 115. Each bit in the partial products 115 is represented by a “P.” Each row of the partial products 115 is obtained by separately multiplying (“ANDing”) each bit of the multiplier 110 by all the bits in the multiplicand 105. This step is repeated with each bit of the multiplier 110. As each partial product is obtained, the partial product is offset one bit to the left from the preceding partial product. After the partial products 115 are obtained, as shown in FIG. 1A, they are summed to generate the final product 120. An “S” represents each bit in the final product 120. This multiplication technique is known as longhand multiplication. A numeric example of the longhand multiplication of an 8-bit multiplier and a 12-bit multiplicand is shown in FIG. 1B. As shown in FIG. 1B, each row of the partial products is either a copy of the multiplicand or is zero.

The generation of the partial products can be rapidly performed by an execution unit within a computer system because the partial products can be generated in parallel. However, summing the partial products may be relatively slow.

As a result, some multiply execution units utilize a carry save adder to rapidly sum partial products. FIG. 2 presents a carry save adder column that can sum the seventeen partial product bits of column 125 (FIG. 1A). Various terms, such as Wallace tree and Dadda tree, are utilized by those of skill in the art for a carry save adder column. The carry save adder column of FIG. 2 includes fifteen full adders 201–215 that are configured into six levels. As shown in FIG. 3, full adder 300 has three inputs: Carry In, Input A, and Input B. In addition, the full adder 300 has two outputs: Carry Out and Sum. While there are many methods of constructing full adders, the full adder 300 includes a first XOR gate 305, a second XOR gate 310, and a multiplexer 315. Full adders are known by those of skill in the art.

The carry save adder column shown in FIG. 2, utilizes full adders 201–215 to rapidly sum the 17 partial product bits of column 125. This carry save adder column receives the 17 partial product bits at the input “branches” of the carry save adder column via full adders 201–205 and 209. The 17 partial product bits are reduced to just two bits 260 and 261, which are input into a carry look-ahead adder (not shown) at the output of the carry save adder column. The carry save adder column receives carry bits from other carry save adder columns via nodes, such as nodes 225, 226, 227, and 228. Similarly, the carry save adder column outputs carry bits to other carry save adder columns via nodes, such as nodes 230, 231, 232, and 233. Carry save adders and carry look-ahead adders are known by those of skill in the art.

As is known in the art, fast integer multipliers can be constructed that utilize carry save adders, full adders, 4 to 2 compressors, and 5 to 3 compressors. These multipliers can rapidly multiply operands.

As discussed above, a significant amount of the time required to multiply two values is utilized to add the partial products. Thus, if there are fewer partial products, then multiplication can be performed more rapidly. One method of reducing the number of partial products is known as Booth encoding. Booth encoding can reduce the number of partial products almost in half. As shown in the following table, Booth encoding generates a partial product for each pair of multiplier bits instead of a partial product for each bit in the multiplier. For example, as shown in the table below, if the first pair of multiplier bits are “00,” then the first partial product would be zero. Similarly, if the third and fourth bits of the multiplier were “01,” then the second partial product would be equal to the multiplicand.

2 Bits Partial Product Value 00 0 01 1 * multiplicand 10 2 * multiplicand (multiplicand, left-shifted 1 bit) 11 3 * multiplicand (sum of multiplicand and multiplicand, left-shifted 1 bit) The generation of the values 0*multiplicand, 1*multiplicand, and 2*multiplicand can be rapidly performed by a multiplexer. However, rapid generation of the value 3* multiplicand is more difficult because an addition, which takes a significant amount of time, needs to be performed. As a result, some fast multiply execution units represent the value of 3*multiplicand as 4*multiplicand −1*multiplicand, with the −1*multiplicand value being used with the current two bits and the 4*multiplicand being used with the next two bits as an extra value of 1*multiplicand. However, if the next two bits have a value of 2*multiplicand, then an extra 1*multiplicand will result in a value of 3*multiplicand, with the same difficulty. Thus, such fast multiply execution units may represent the value of 2*multiplicand as 4*multiplicand −2*multiplicand, with the −2*multiplicand value being used with the current two bits and the 4*multiplicand being used with the next two bits as an extra value of 1*multiplicand. As shown in the following table, such fast multiply execution units, in addition to considering the two bits of the multiplier, also consider the most significant bit of the previous two bits.

MSB of 2 Bits Previous Two Bits Partial Product Value 00 0   0 00 1 +1 * multiplicand 01 0 +1 * multiplicand 01 1 +2 * multiplicand 10 0 −2 * multiplicand (complement the multiplicand, left-shifted 1 bit) 10 1 −1 * multiplicand (complement the multiplicand) 11 0 −1 * multiplicand 11 1   0

FIG. 4 presents a numeric example of multiplying an 8-bit multiplier by a 12-bit multiplicand using Booth encoding. As shown in FIG. 4, the number of partial products is reduced from 8 to 5. Thus, utilizing Booth encoding can reduce the amount of circuit needed to implement the multiplier execution unit and increase the speed of multiplication. As is known in the art, the above partial product values can be quickly generated by a multiplexer and inversion. There are several methods, known to those skilled in the art, of dealing with the sign bits of the partial products in multipliers that utilize Booth encoding. Each of these methods can be accommodated in fast multipliers.

An integer multiplication treats each row of a partial product as a binary representation of the integer multiplicand 105. Therefore, integer multiplication adds the bits of partial sums. However, another type of multiplication, XOR (exclusive or) multiplication, combines the bits by XORing (instead of adding) the bits. In other words, XOR multiplication treats each row of a partial product as a bit string, and the bits along a vertical column of the partial products are XORed together to obtain the result. FIG. 5 presents a numeric example of an XOR multiplication of an 8-bit multiplier and a 12-bit multiplicand.

XOR multiplication is utilized in the implementation of the arithmetic operations for the binary polynomial field Elliptic Curve Cryptography (ECC). Elliptic curves have been found to provide versions of public-key cryptographic methods that, in some cases, are faster and use smaller keys than other cryptographic methods, while providing an equivalent level of security.

Thus, a need exists for a multiply execution unit, which can efficiently perform traditional multiplication as well as XOR multiplication. By enabling one execution unit to perform both types of multiplications, much less circuit is needed to implement one such combined unit compared to two separate units, one for integer and another for XOR. This helps reduce the power consumption of the multiplier execution unit.

3. SUMMARY OF THE INVENTION

One embodiment of the invention is a multiply execution unit that is operable to generate the integer product and the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a summing circuit for summing a plurality of partial products. The partial products may be Booth encoded. The summing circuit can generate an integer sum of the plurality of partial products and can generate an XOR sum of the plurality of partial products. The summing circuit includes a first plurality of full adders. The first plurality of full adders each has three inputs, a carry output, and a sum output. The sum outputs of the first plurality of full adders are independent of the value of any carry output in the summing circuit. The summing circuit also includes a second plurality of full adders. The second plurality of full adders each has three inputs, a carry output, and a sum output. The XOR sum is dependent upon at least one of the sum outputs of the first plurality of full adders but is independent of the sum outputs of the second plurality of full adders. The integer sum is dependent upon the sum outputs of at least one of the first plurality of full adders and is also dependent on at least one of the sum outputs of the second plurality of full adders.

Another embodiment of the invention is another multiply execution unit that is operable to generate the integer product and the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a summing circuit for summing a plurality of partial products. The summing circuit can simultaneously generate an integer sum and an XOR sum.

Still another embodiment of the invention is another multiply execution unit that can generate the integer product and the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a summing circuit for summing a plurality of partial products. The summing circuit can generate an integer sum of the plurality of partial products and can generate an XOR sum of the plurality of partial products. The summing circuit includes a control input. When the control input is in a first state, the summing circuit generates an integer sum. When the control input is in a second state, the summing circuit generates an XOR sum. The summing circuit also includes a gate. The gate has a first input coupled to the control input and a second input that is coupled to the carry output of a full adder in the summing circuit. The gate propagates a carry bit when the control input is in the first state and does not propagate the carry bit when the control input is in the second state.

Another embodiment of the invention is another multiply execution unit that is operable to generate the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a first circuit for generating a first partial product for a first pair of bits in the multiplier. The multiply execution unit also includes a second circuit for generating a second partial product for a second pair of bits in the multiplier. The multiply execution unit further includes a summing circuit that can generate the XOR sum of the first partial product and the second partial product.

Still another embodiment of the invention is a multiply execution unit that is operable to generate the integer product and the XOR product of a multiplicand and a multiplier. The multiply execution unit includes a first circuit for generating a first partial product for a first pair of bits in the multiplier. The multiply execution unit also includes a second circuit for generating a second partial product for a second pair of bits in the multiplier. The multiply execution unit further includes a summing circuit that can generate the integer sum and the XOR sum of the first partial product and the second partial product.

4. BRIEF DESCRIPTION OF THE FIGURES

FIG. 1A presents the longhand multiplication of a multiplicand and a multiplier.

FIG. 1B presents a numerical example of the longhand multiplication of a multiplicand and a multiplier.

FIG. 2 presents a prior art carry save adder column.

FIG. 3 presents a full adder.

FIG. 4 presents the integer multiplication of a multiplicand and a multiplier using Booth encoding.

FIG. 5 presents the longhand XOR multiplication of a multiplicand and a multiplier.

FIG. 6 presents the XOR multiplication of a multiplicand and a multiplier using Booth encoding.

FIG. 7 presents a carry save adder column that can generate integer sums and XOR sums.

FIG. 8 presents a carry save adder column that can simultaneously generate integer sums and XOR sums.

FIG. 9 presents a carry save adder column that can simultaneously generate integer sums and XOR sums of sixteen partial products.

5. DETAILED DESCRIPTION

The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

5.1 Utilizing Booth Encoding to Generate an XOR Product

One embodiment of the invention is a fast multiply execution unit that generates an XOR product using Booth encoding. This fast multiply execution unit generates a partial product for each pair of the multiplier's bits. For example, the fast multiply execution unit could generate the partial products shown in the following table:

2 Bits Partial Product Value 00 0 01 1 * multiplicand 10 2 * multiplicand 11 multiplicand XOR (2 * multiplicand) (XOR of the multiplicand and the multiplicand, left-shifted 1 bit)

A numerical example of XOR multiplying an 8-bit multiplier and a 12-bit multiplicand using Booth encoding is shown in FIG. 6. As shown in FIG. 6, the first two bits of the multiplier are “10.” Thus, the first partial product can be generated by copying the left-shifted multiplicand. Similarly, the third and fourth bits of the multiplier are “01.” Thus, the second partial product can be generated by copying the multiplicand. The fifth and sixth bits of the multiplier are “00.” Thus, the third partial product is zero. The seventh and eighth bits of the multiplier are 11. Thus, the fourth partial product can be generated by XORing the multiplicand and the left-shifted multiplicand. After the generation of the partial products, the partial product columns are XORed. The result is the XOR multiply of the multiplicand and the multiplier.

As shown in FIG. 6, there are only four partial products. Thus, using Booth encoding, only half as many partial products as were generated in FIG. 5 are needed. As a result, the XOR result can be obtained with a small circuit. In addition, because the above method does not require any additions and does not propagate any carry bits, the XOR result can be rapidly calculated. Because the generation of the partial products can be performed in parallel, the time to generate the XOR result can be just slightly longer than the time to XOR the partial product columns.

One may utilize 4 input multiplexers to quickly generate each bit of each partial product. Thus, in one embodiment of the invention, the fast multiply execution unit would include a multiplexer that receives the following values: 0; multiplicand; 2*multiplicand; and multiplicand XOR (2*multiplicand). By using a separate multiplexer to generate each bit of each partial product, the partial products can be generated in parallel.

5.2 Utilizing Booth Encoding to Generate an Integer Product or an XOR Product

Another embodiment of the invention is a fast multiply execution unit that generates an integer product or an XOR product using Booth encoded partial products. This fast multiply execution unit generates a partial product for each pair of bits in the multiplier. For example, the fast multiply execution unit could generate the partial products shown in the following table:

MSB of Integer 2 Bits Previous Two Bits Multiply Partial Product Value 00 0 1   0 00 0 0   0 01 0 1   1 * multiplicand 01 0 0   1 * multiplicand 10 0 1 −2 * multiplicand 10 0 0 +2 * multiplicand 11 0 1 −1 * multiplicand 11 0 0 multiplicand XOR (2 * multiplicand) 00 1 1   1 * multiplicand 00 1 0   0 01 1 1   2 * multiplicand 01 1 0   1 * multiplicand 10 1 1 −1 * multiplicand 10 1 0 +2 * multiplicand 11 1 1   0 11 1 0 multiplicand XOR (2 * multiplicand)

In the above table, a zero in the Integer Multiply column indicates that an XOR multiply is to be performed and a one indicates that an integer multiply is to be performed.

Some embodiments of the invention utilize 6 input multiplexers to rapidly generate each bit of each of the plurality of partial products. Thus, in some embodiments of the invention, the fast multiply execution unit would include a multiplexer that receives the following values: −2*multiplicand; −multiplicand; 0; multiplicand; 2*multiplicand; and multiplicand XOR (2*multiplicand). By using a separate multiplexer to generate each bit of each partial product, the partial products can be generated in parallel.

5.3 Multiply Execution Unit that Can Generate Integer and XOR Products

Another embodiment of the invention is another multiply execution unit that can operate in a first mode, which can generate integer products of a multiplicand and a multiplier, and can operate in a second mode, which can generate XOR products of a multiplicand and a multiplier. The multiply execution unit contains circuitry that, when in the first mode, adds partial products, and, when in the second mode, XORs partial products. A partial example of such circuitry is the carry save adder column as shown in FIG. 7.

The carry save adder column shown in FIG. 7 is similar to the carry save adder column of FIG. 2 in that it contains fifteen full adders and can rapidly sum the seventeen partial product bits of column 125 (FIG. 1A). However, the carry save adder column of FIG. 7 also includes a control input 740. When control input 740 is set to a high logic state, the carry save adder column operates in a first mode that adds the partial product bits. When control input 740 is set to a low logic state, the carry save adder column operates in a second mode that combines the partial product bits by XORing the bits. Thus, in the second mode, the carry output bits are not used.

Referring to FIG. 7, the control input 740 is coupled to six AND gates 751–756. These AND gates control whether carry bits are allowed to propagate. When control input 740 is set to a high logic state, the AND gates 751–756 allow carries to propagate from one carry save adder column to another. However, when control input 740 is set to a low logic state, then all the AND gates 751–756 output a low logic state regardless of the value of the carry bits.

While some embodiments of the invention could control the propagation of all carry bits, some embodiments of the invention only control the propagation of certain carry bits. For example, the carry save adder column of FIG. 7 only controls the propagation of the carry bits that can be non-zero and are subsequently combined with a sum bit that is used to produce the XOR sum, which is also passed to the carry look-ahead adder. By controlling the propagation of only these carry bits, an integer multiplier can be efficiently adapted to generate either the inputs 760 and 761, which are input into a carry look-ahead adder, or an XOR multiply result 760. As result, there is no need for a separate XOR summing circuit. Thus, significant die space of a multiply execution unit can be saved.

5.4 Multiply Execution Unit that Can Simultaneously Generate Integer and XOR Sums

While the carry save adder column shown in FIG. 7 can be utilized to generate integer multiply results and XOR multiply results, the addition of the AND gates 751–756 slows down the generation of the integer multiply. As shown in FIG. 8, the full adders in a carry save adder column can be rearranged to eliminate the need for AND gates such as AND gates 751–756.

As does the carry save adder column of FIG. 7, the carry save adder column shown in FIG. 8 contains fifteen full adders 801–815 and can rapidly sum the seventeen partial product bits of column 125 (FIG. 1A). However, instead of generating either the inputs to a carry look-ahead adder, which are utilized to generate the integer sum, or the XOR sum of partial product bits, the carry save adder column of FIG. 8 can simultaneously generate both the inputs 862 and 863, which are utilized to input to a carry look-ahead adder to generate the integer sum and the XOR sum 864 of the partial product bits.

As shown in FIG. 8, the carry save adder column can generate both sums simultaneously because the value of the XOR sum 864 is based only upon the sum outputs of full adders that are not affected by the propagation of carry bits. Thus, the XOR sum 864 is independent of the value of any carry output in the carry save adder column. In other words, the carry save adder column of FIG. 8 does not combine carry bits with bits that are used to generate the XOR sum 864. Therefore, the value of the XOR sum 864 is independent of whether any carry bits are propagated.

Referring to FIG. 8, all the inputs of full adders 801–805 receive partial product bits. Thus, the sum outputs of these full adders 801–805 are independent of the propagation of any carry bit. Thus, the sum outputs of these full adders 801–805 are independent of the value of any carry output in the summing circuit.

Referring again to FIG. 8, all the inputs of full adder 807 are coupled to the sum output of full adders 801, 802 and 803. Because the sum outputs of full adders 801, 802 and 803 are not affected by the propagation of any carry bits, the sum output of full adder 807 is likewise not affected by the propagation of any carry bits. As can be seen in FIG. 8, the sum output of full adder 808 is also not affected by the propagation of any carry bits. Similarly, full adder 811, which inputs are coupled to the sum outputs of full adders 804, 807 and 808, is not affected by the propagation of any carry bits. As a result, the XOR sum 864 is not affected by the propagation of any carry bit from another carry save adder column. Thus, sum output of full adders 807, 808, and 811 are independent of the value of any carry output in the summing circuit.

While the XOR sum 864 is based only upon the sum outputs of the group of full adders 801–805, 807, 808, and 811 that are not affected by the propagation of carry bits, the integer sum bits 862 and 863 are based upon those full adders and also full adders which inputs are affected by the propagation of carry bits. As shown in FIG. 8, the inputs of full adders 806, 810, 812, 814, and 815 are all coupled to nodes that receive carry outputs from other carry save adder columns. Thus, the sum outputs of those full adders 806, 810, 812, 814 and 815 are affected by the propagation of carry bits. For example, the inputs of full adder 806 all receive carry bits from other carry save adder columns. Thus, the sum output of full adder 806 is affected by whether such carry bits are propagated or not.

As shown in FIG. 8, the carry input of full adder 809 is coupled to the sum output of full adder 806. Thus, the sum output of full adder 809 would also be affected by the propagation of carry bits. As a result, the sum outputs of these full adders 806, 809, 810, 812–815 are dependent on the value of at least one carry output bit in the summing circuit.

5.5 Summing an Even Number of Partial Product Bits

The carry save adder column shown in FIG. 8 sums seventeen partial product bits. If the number of partial product bits is even, then a two-input XOR gate can be utilized to obtain the XOR sum. A carry save adder column that sums 16 partial product bits is shown in FIG. 9. This carry save adder column utilizes a single two-input XOR gate 970 to generate XOR sum 964. In other embodiments (not shown) additional XOR gates can be utilized to generate the XOR sum. Thus, in such embodiments, the output of one XOR gate could be coupled to the input of another XOR gate, the output of which would be the XOR sum.

5.6 Conclusion

The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. For example, carry save adders can be laid out in a triangular shape or can be laid out in a rectangular structure. Similarly, such adders can be manufactured utilizing either standard cells or custom designed cells. Further, full adders can be combined to create 4 to 2 or 5 to 3 compressors. Carry save adders can receive Booth encoded partial products or can receive un-encoded partial products. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims. 

1. A multiply execution unit that is operable to generate the integer product of a multiplicand and a multiplier and is also operable to generate the XOR product of the multiplicand and the multiplier, the multiply execution unit comprising: a) a summing circuit for summing a plurality of partial products, the summing circuit operable to generate an integer sum of the plurality of partial products and operable to generate an XOR sum of the plurality of partial products, the summing circuit including: 1) a first plurality of full adders, the first plurality of full adders each having three inputs, a carry output, and a sum output, the sum output being independent of the value of any carry output in the summing circuit; and 2) a second plurality of full adders, the second plurality of full adders each having three inputs, a carry output, and a sum output, the sum output being dependent on the value of at least one carry output in the summing circuit; wherein the XOR sum is dependent upon the sum outputs of the first plurality of full adders but is independent of the sum outputs of the second plurality of full adders and wherein the integer sum is dependent upon the sum outputs of the first plurality of full adders and is dependent on the sum outputs of the second plurality of full adders.
 2. The multiply execution unit of claim 1, wherein the XOR sum is independent of the carry outputs of the first plurality of full adders and is independent of the carry outputs of the second plurality of full adders.
 3. The multiply execution unit of claim 1, wherein the XOR sum is independent of the carry output of the first plurality of full adders.
 4. The multiply execution unit of claim 1, wherein at least one full adder in the first plurality of full adders is a full adder that receives a first partial product bit via its first input, a second partial product bit via its second input, and a third partial product bit via its third input.
 5. The multiply execution unit of claim 1, wherein at least one full adder in the first plurality of full adders is a full adder all of which inputs are coupled to the sum outputs of other full adders in the first plurality of full adders.
 6. The multiply execution unit of claim 1, further comprising an XOR gate having two inputs and an output, the output of the XOR gate being coupled to the XOR sum.
 7. The multiply execution unit of claim 1, further comprising an XOR gate having two inputs and an output, the output of the XOR gate being coupled to another XOR gate.
 8. The multiply execution unit of claim 1, wherein the summing circuit is operable to simultaneously generate an integer sum and an XOR sum.
 9. A multiply execution unit that is operable to generate the integer product of a multiplicand and a multiplier and is also operable to generate the XOR product of the multiplicand and the multiplier, the multiply execution unit comprising: a) a summing circuit for summing a plurality of partial products, the summing circuit operable to simultaneously generate an integer sum and an XOR sum, wherein the summing circuit includes: 1) a first plurality of full adders, the first plurality of full adders each having three inputs, a carry output, and a sum output, the sum output being independent of the value of any carry output in the summing circuit; and 2) a second plurality of full adders, the second plurality of full adders each having three inputs, a carry output, and a sum output, the sum output being dependent on the value of at least one carry output in the summing circuit; wherein the XOR sum is dependent upon the sum outputs of the first plurality of full adders but is independent of the sum outputs of the second plurality of full adders and wherein the integer sum is dependent upon the sum outputs of the first plurality of full adders and is dependent on the sum outputs of the second plurality of full adders.
 10. The multiply execution unit of claim 9, wherein the XOR sum is independent of the carry outputs of the first plurality of full adders and is independent of the carry outputs of the second plurality of full adders.
 11. The multiply execution unit of claim 9, wherein the XOR sum is independent of the carry output of the first plurality of full adders.
 12. The multiply execution unit of claim 9, wherein at least one full adder in the first plurality of full adders is a full adder that receives a first partial product bit via its first input, a second partial product bit via its second input, and a third partial product bit via its carry input.
 13. The multiply execution unit of claim 9, wherein at least one full adder in the first plurality of full adders is a full adder that has three inputs coupled to the sum outputs of other full adders in the first plurality of full adders.
 14. The multiply execution unit of claim 9, further comprising an XOR gate having two inputs and an output, the output of the XOR gate being coupled to the XOR sum.
 15. The multiply execution unit of claim 9, further comprising an XOR gate having two inputs and an output, the output of the XOR gate being coupled to another XOR gate.
 16. A multiply execution unit that is operable to generate the integer product of a multiplicand and a multiplier and is also operable to generate the XOR product of the multiplicand and the multiplier, the multiply execution unit comprising: a) a summing circuit for summing a plurality of partial products, the summing circuit operable to generate an integer sum of the plurality of partial products and operable to generate an XOR sum of the plurality of partial products, the summing circuit including: 1) a control input, when the control input is in a first state, the summing circuit being operable to generate an integer sum, when the control input is in a second state, the summing circuit being operable to generate an XOR sum; and 2) a gate, the gate having a first input coupled to the control input, the gate having a second input coupled to the carry output of a full adder wherein the gate propagates a carry bit when the control input is in the first state and does not propagate the carry bit when the control input is in the second state.
 17. The multiply execution unit of claim 16, wherein the gate is an AND gate.
 18. The multiply execution unit of claim 16, wherein the summing circuit is not operable to simultaneously generate an integer sum and an XOR sum.
 19. The multiply execution unit of claim 16, wherein the summing circuit includes a full adder with a sum output that is operable to output at least one bit that is utilized to generate an integer sum when the control input is in the first state and at least one bit of the XOR sum when the control input is in the second state.
 20. A multiply execution unit that is operable to generate the XOR product of a multiplicand and a multiplier, the multiplier having a first pair of bits and a second pair of bits, the multiply execution unit comprising: a) a first circuit for generating a first partial product for the first pair of bits in the multiplier, wherein the first circuit for generating the first partial product includes a multiplexer with an input for receiving the value of the multiplicand XOR (2*multiplicand); b) a second circuit for generating a second partial product for the second pair of bits in the multiplier; and c) a summing circuit operable to generate the XOR sum of the first partial product and the second partial product.
 21. The multiply execution unit of claim 20, wherein the first circuit for generating the first partial product is a Booth encoder circuit.
 22. The multiply execution unit of claim 20, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand) and a second input for receiving the value of 2*the multiplicand.
 23. The multiply execution unit of claim 20, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand), a second input for receiving the value of 2*the multiplicand, and a third input for receiving the value of the multiplicand.
 24. A multiply execution unit that is operable to generate the integer product of a multiplicand and a multiplier and is also operable to generate the XOR product of the multiplicand and the multiplier, the multiplier having a first pair of bits and a second pair of bits, the multiply execution unit comprising: a) a first circuit for generating a first partial product for the first pair of bits in the multiplier, wherein the first circuit for generating the first partial product includes a multiplexer with an input for receiving the value of the multiplicand XOR (2*multiplicand); b) a second circuit for generating a second partial product for the second pair of bits in the multiplier; and c) a summing circuit operable to generate an integer sum of the first partial product and the second partial product and operable to generate an XOR sum of the first partial product and the second partial product.
 25. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product is a Booth encoder circuit.
 26. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand) and a second input for receiving the value of 2*the multiplicand.
 27. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand), a second input for receiving the value of 2*the multiplicand, and a third input for receiving the value of the multiplicand.
 28. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand), a second input for receiving the value of 2*the multiplicand, a third input for receiving the value of the multiplicand, and a fourth input for receiving the value of zero.
 29. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand), a second input for receiving the value of 2*the multiplicand, a third input for receiving the value of the multiplicand, a fourth input for receiving the value of zero, and a fifth input for receiving the value of −1*the multiplicand.
 30. The multiply execution unit of claim 24, wherein the first circuit for generating the first partial product includes a multiplexer with a first input for receiving the value of the multiplicand XOR (2*the multiplicand), a second input for receiving the value of 2*the multiplicand, a third input for receiving the value of the multiplicand, a fourth input for receiving the value of zero, a fifth input for receiving the value of −1*the multiplicand, and a sixth input for receiving the value of −2*the multiplicand.
 31. The multiply execution unit of claim 24, wherein the summing circuit includes: 1) a first plurality of full adders, the first plurality of full adders each having three inputs, a carry output, and a sum output, the sum output being independent of the value of any carry output in the summing circuit; and 2) a second plurality of full adders, the second plurality of full adders each having at least three inputs, a carry output, and a sum output, the sum output being dependent on the value of at least one carry output in the summing circuit; wherein the XOR sum is dependent upon the sum outputs of the first plurality of full adders but is independent of the sum outputs of the second plurality of full adders and wherein the integer sum is dependent upon the sum outputs of the first plurality of full adders and is dependent on the sum outputs of the second plurality of full adders.
 32. The multiply execution unit of claim 24, wherein the summing circuit is operable to simultaneously generate an integer sum and an XOR sum. 